package org.example.factory.abstractFactory;

import org.example.factory.service.Action;
import org.example.factory.service.impl.JumpAction;
import org.example.factory.service.impl.RunAction;
import org.example.factory.service.impl.SingAction;

public class NormalPersonActionFactory implements AbstractActionFactory {
    @Override
    public Action createJumpAction() {
        return new JumpAction(); // 使用原始实现
    }

    @Override
    public Action createRunAction() {
        return new RunAction(); // 使用原始实现
    }

    @Override
    public Action createSingAction() {
        return new SingAction(); // 使用原始实现
    }
}